﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for manufacturerBUS
/// </summary>
public class manufacturerBUS
{
	public manufacturerBUS()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public static DataTable GetListOfCompanies()
    {
        return manufacturerDAO.GetListOfCompanies();
    }
    public static void EditInfo(manufacturerDTO mDTO)
    {
        manufacturerDAO.EditInfo(mDTO);
    }
    public static void DeleteCompany(manufacturerDTO mDTO)
    {
        manufacturerDAO.DeleteCompany(mDTO);
    }
    public static bool SurvivalTest(manufacturerDTO mDTO)
    { 
        return manufacturerDAO.ktraTonTai(mDTO);
    }
    public static void AddCompany(manufacturerDTO mDTO)
    {
        manufacturerDAO.AddCompany(mDTO);
    }
}